﻿#include <Sys\RenderUnit\SysDatagramDisposal_OpenGL\STAGEDDPENGL.HPP>

using namespace CxxlMan;
using namespace Cxxl3D;

class CStageDDOpenGL:public IStageDDOpenGL
{
  unsigned int m_Stage;

  virtual void cxxlFASTCALL SetStage(unsigned int Stage)
  {
    m_Stage = Stage;
  }
  virtual unsigned int cxxlFASTCALL GetStage()
  {
    return m_Stage;
  }

  virtual bool cxxlFASTCALL Exec(const Smart_Ptr<IRenderDatagramDisposalCenterOpengl> &IRenderDatagramDisposalCenter_Arg,
    const Smart_Ptr<IRenderDatagram> &IRenderDatagram_Arg, const CxxlMan::CSmart_Ptr<Matrix4x4> &ViewMatrix_Arg)
  {
    return true;
  }

public:
  // Constructor
  CStageDDOpenGL()
    :cxxlObject(CxxlMan::Spirit_Easy)
  {
    m_Stage = 0;
  }

  // Destructor
  virtual ~CStageDDOpenGL()
  {}

};

cxxlObject *cxxlFASTCALL New_CStageDDOpenGL()
{
  return new CStageDDOpenGL;
}